package com.lzw.security.mapper;

import com.lzw.security.entity.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author ：冯涛滔
 * @date ：Created in 2020-3-28 20:54
 * @description：
 * @modified By：
 * @version:
 */
@Repository
public interface CategoryMapper {
    List<Category> getIndexCategoryList();
    List<Category> getCategoryList();
    Integer addCategory(Category category);
    Integer deleteCategory(int id);
    Integer updateCategory(Category category);
}
